Skip to content

Comments

[19.0][MIG]: product_pricelist_direct_print#2220

Open
Alexgars73 wants to merge 62 commits intoOCA:19.0from
Studio73:19.0-mig-product_pricelist_direct_print
Open

[19.0][MIG]: product_pricelist_direct_print#2220
Alexgars73 wants to merge 62 commits intoOCA:19.0from
Studio73:19.0-mig-product_pricelist_direct_print

Conversation

@Alexgars73
Copy link

No description provided.

carlosdauden and others added 30 commits February 23, 2026 17:20
Print price list for future date
Print price list for N last ordered products
Send report by email to each partner selected
When we check the price of any product, the date that we pass on the context has to be a Datetime value or None. With this change we avoid to pass a False.

Here you have the reference to the code that check that https://github.com/OCA/OCB/blob/13.0/addons/product/models/product.py#L599-L600

TT29935
In a multicompany environment we need to contextualize the report
company. Otherwise, the pricelists will be printed with the header and
data of the current user's default company, which can be incoherent.

TT32544
This fix a compatibility issue with product_pricelist_supplierinfo if
the wizard date isn't set.

TT32729
…add new fields + Adjust cherry-picks to v14 + Give formats to add_extra_info method
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: product-attribute-15.0/product-attribute-15.0-product_pricelist_direct_print
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-product_pricelist_direct_print/
…pricelist prices vat excl or vat incl + group by any product field
- Improve wizard display, grouping fields by context
- Harmonize fields names : Use only 'positive' option 'show' and remove 'hide' option
- Set date as required, simplifying algorithm
- Split product_pricelist_direct_print into product_pricelist_direct_print and product_pricelist_direct_print_xlsx
Currently translated at 84.6% (55 of 65 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_direct_print
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_direct_print/it/
Currently translated at 100.0% (65 of 65 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_direct_print
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_direct_print/es/
trisdoan and others added 24 commits February 23, 2026 17:20
…t' object has no attribute 'show_attribute_values'
…ut administration permision

Steps to reproduce the problem:

1. Log in with a user without Administration permision
2. Open Pricelist Print wizard

An error about permisions is desplayed
… that doesn't belong to 'Administration/Access Rights' try to print pricelists. Fix : OCA#1655
…ing an product category, include its child categories.
Currently translated at 100.0% (66 of 66 strings)

Translation: product-attribute-16.0/product-attribute-16.0-product_pricelist_direct_print
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_pricelist_direct_print/it/
…fields

With this change we are sure that the prices shown on the report has the correct precision.
[IMP] product_pricelist_direct_print: pre-commit execution
- Standard procedure.
- [IMP] Add advanced print button
- [IMP] Add option to show Sales Description
- [FIX] typo product_pricelist_print_view
- [IMP]Improve string Show only defined products
- [IMP] Pretty Filename: Use pricelist- name instead of report.pdf in emails.
Currently translated at 100.0% (71 of 71 strings)

Translation: product-attribute-18.0/product-attribute-18.0-product_pricelist_direct_print
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_pricelist_direct_print/it/
Currently translated at 87.2% (89 of 102 strings)

Translation: product-attribute-18.0/product-attribute-18.0-product_pricelist_direct_print
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_pricelist_direct_print/nl_NL/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: product-attribute-18.0/product-attribute-18.0-product_pricelist_direct_print
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_pricelist_direct_print/
Currently translated at 100.0% (103 of 103 strings)

Translation: product-attribute-18.0/product-attribute-18.0-product_pricelist_direct_print
Translate-URL: https://translation.odoo-community.org/projects/product-attribute-18-0/product-attribute-18-0-product_pricelist_direct_print/it/
…ot showing the correct products

The ANDs on the domains is excluding products that are defined but aren't on the categories added to the pricelist, so this is not correct. Set ORs to wor as is was working in last versions.
Copy link
Contributor

@Reyes4711-S73 Reyes4711-S73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Alexgars73 Alexgars73 force-pushed the 19.0-mig-product_pricelist_direct_print branch from 54ef0ea to b3a6f00 Compare February 24, 2026 15:53
@Alexgars73 Alexgars73 force-pushed the 19.0-mig-product_pricelist_direct_print branch from b3a6f00 to 050b16f Compare February 24, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.